package student.action;

import com.opensymphony.xwork2.ActionSupport;

public class EditProfile extends ActionSupport{
	private String commandButton = "";

	public String getCommandButton() {
		return commandButton;
	}

	public void setCommandButton(String commandButton) {
		this.commandButton = commandButton;
	}
	
	public String execute(){
		 if (this.commandButton.startsWith("Edit")) 
		       return "success";
	
		return "success";
	}
}
